package com.parenting.service.impl;

import com.parenting.entities.ActivityFreeDO;
import com.parenting.mapper.ActivityFreeMapper;
import com.parenting.response.wechat.WeChatFreeResponse;
import com.parenting.service.ActivityFreeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 免费体 服务实现类
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-27
 */
@Service
public class ActivityFreeServiceImpl extends ServiceImpl<ActivityFreeMapper, ActivityFreeDO> implements ActivityFreeService {

    @Override
    public List<WeChatFreeResponse> getWeChatFreeActivity(String activityId) {

        return baseMapper.getWeChatFreeActivity(activityId);
    }
}
